<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <script type="text/javascript" src="file:///System/Library/WidgetResources/AppleClasses/AppleAnimator.js" charset="utf-8"></script>
    <script type="text/javascript" src="file:///System/Library/WidgetResources/AppleClasses/AppleButton.js" charset="utf-8"></script>
    <script type="text/javascript" src="file:///System/Library/WidgetResources/AppleClasses/AppleInfoButton.js" charset="utf-8"></script>
    <link rel="stylesheet" href="main.css">
    <script type="text/javascript" src="Parts/parts.js" charset="utf-8"></script>
    <script type="text/javascript" src="main.js" charset="utf-8"></script>
    <script type="text/javascript" src="file:///System/Library/WidgetResources/AppleClasses/AppleScrollbar.js" charset="utf-8"></script>
    <script type="text/javascript" src="file:///System/Library/WidgetResources/AppleClasses/AppleScrollArea.js" charset="utf-8"></script>
</head>
<body onload="load();">
    <div id="front">
        <img id="frontImg" src="Parts/Images/front.png" alt="" onload="retriveInfoFromService(event)">
        <select id="popup" onclick="ChoosenLineEvt(event)">
        </select>
        <div id="text">BusTorino</div>
        <div id="text1">Scegli fermata:</div>
        <div id="image"><img src="Images/ico-bus.png" id="inner_image"></div>
        <textarea id="textarea" readonly="readonly" style="outline:0;outline:none;"></textarea>
        <div id="text5">Preferiti:</div>
        <div id="button" onclick="prefStopEvent(1)"><div style="height: 16px; -apple-dashboard-region: dashboard-region(control rectangle); "><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button_left.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><div style="display: inline-block; vertical-align: bottom; line-height: 16px; height: 16px; overflow-x: hidden; overflow-y: hidden; white-space: nowrap; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button_middle.png); width: 39px; background-repeat: repeat no-repeat; ">1</div><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button_right.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div></div></div>
        <div id="button1" onclick="prefStopEvent(2)"><div style="height: 16px; -apple-dashboard-region: dashboard-region(control rectangle); "><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button1_left.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><div style="display: inline-block; vertical-align: bottom; line-height: 16px; height: 16px; overflow-x: hidden; overflow-y: hidden; white-space: nowrap; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button1_middle.png); width: 39px; background-repeat: repeat no-repeat; ">2</div><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button1_right.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div></div></div>
        <div id="button2" onclick="prefStopEvent(3)"><div style="height: 16px; -apple-dashboard-region: dashboard-region(control rectangle); "><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button2_left.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><div style="display: inline-block; vertical-align: bottom; line-height: 16px; height: 16px; overflow-x: hidden; overflow-y: hidden; white-space: nowrap; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button2_middle.png); width: 39px; background-repeat: repeat no-repeat; ">3</div><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button2_right.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div></div></div>
        <div id="button3" onclick="prefStopEvent(4)"><div style="height: 16px; -apple-dashboard-region: dashboard-region(control rectangle); "><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button3_left.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><div style="display: inline-block; vertical-align: bottom; line-height: 16px; height: 16px; overflow-x: hidden; overflow-y: hidden; white-space: nowrap; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button3_middle.png); width: 39px; background-repeat: repeat no-repeat; ">4</div><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button3_right.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div></div></div>
        <div id="button4" onclick="prefStopEvent(5)"><div style="height: 16px; -apple-dashboard-region: dashboard-region(control rectangle); "><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button4_left.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><div style="display: inline-block; vertical-align: bottom; line-height: 16px; height: 16px; overflow-x: hidden; overflow-y: hidden; white-space: nowrap; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button4_middle.png); width: 39px; background-repeat: repeat no-repeat; ">5</div><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button4_right.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div></div></div>
        <div id="button5" onclick="prefStopEvent(6)"><div style="height: 16px; -apple-dashboard-region: dashboard-region(control rectangle); "><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button5_left.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><div style="display: inline-block; vertical-align: bottom; line-height: 16px; height: 16px; overflow-x: hidden; overflow-y: hidden; white-space: nowrap; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button5_middle.png); width: 39px; background-repeat: repeat no-repeat; ">6</div><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 16px; width: 8px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button5_right.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div></div></div>
        <div id="text23" apple-default-image-visibility="hidden">I risultati sono reperiti in tempo reale utilizzando il servizio gtt.to.it</div><div id="info"><div style="position: absolute; top: 0px; left: 0px; width: 13px; height: 13px; opacity: 0.25; visibility: hidden; background-image: url(file:///System/Library/WidgetResources/ibutton/black_rollie.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><img width="13" height="13" alt="Info" style="position: absolute; top: 0px; left: 0px; opacity: 0; " src="file:///System/Library/WidgetResources/ibutton/black_i.png"></div></div>
    <div id="back">
        <img id="backImg" src="Parts/Images/back.png" alt="">
        <div id="done"><div style="height: 23px; -apple-dashboard-region: dashboard-region(control rectangle); "><div style="display: inline-block; vertical-align: bottom; background-image: url(file:///System/Library/WidgetResources/button/glassbuttonleft.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 23px; width: 10px; background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><div style="display: inline-block; vertical-align: bottom; background-image: url(file:///System/Library/WidgetResources/button/glassbuttonmiddle.png); line-height: 23px; height: 23px; overflow-x: hidden; overflow-y: hidden; white-space: nowrap; font-size: 12px; font-family: 'Helvetica Neue'; font-weight: bold; color: white; background-repeat: repeat no-repeat; ">Fine</div><div style="display: inline-block; vertical-align: bottom; background-image: url(file:///System/Library/WidgetResources/button/glassbuttonright.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 23px; width: 10px; background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div></div></div>
        <div id="text2">Developed by: Luigi Tagliamonte</div>
        <div id="text3">Info: luigi.tagliamonte86@gmail.com</div>
        <div id="text6">Gestisci Preferiti:</div>
        <select id="popup1" onclick="cleanBackInterface(event)">
            <option>1</option>
            <option>2</option>
            <option>3</option>
            <option>4</option>
            <option>5</option>
            <option>6</option>
        </select>
        <input id="textField" type="text" name="" value="" onclick="cleanBackInterface(event)">
        <div id="button6" onclick="savePreferredStop(event)"><div style="height: 22px; -apple-dashboard-region: dashboard-region(control rectangle); "><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 22px; width: 11px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button6_left.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div><div style="display: inline-block; vertical-align: bottom; line-height: 22px; height: 22px; overflow-x: hidden; overflow-y: hidden; white-space: nowrap; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button6_middle.png); width: 38px; background-repeat: repeat no-repeat; ">Salva</div><div style="display: inline-block; vertical-align: bottom; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 22px; width: 11px; background-image: url(file:///var/folders/D6/D6xw7mIwHquV8HdFirbSqU+++TI/-Tmp-/Dashcode/.busTorino.dcproj1z37hy/busTorino.dcproj/project/widget.wdgt/Parts/Images/button6_right.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; "></div></div></div>
        <div id="text7">Scegli il preferito, inserisci il numero della fermata e premi Salva</div>
        <div id="text8" style="display: none; ">Salvato!</div></div>
</body>
</html>
